{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# online_shopping_10_cats 说明\n",
    "0. **下载地址：** [Github](https://github.com/SophonPlus/ChineseNlpCorpus/raw/master/datasets/online_shopping_10_cats/online_shopping_10_cats.zip)\n",
    "1. **数据概览：** 10 个类别（书籍、平板、手机、水果、洗发水、热水器、蒙牛、衣服、计算机、酒店），共 6 万多条评论数据，正、负向评论各约 3 万条\n",
    "2. **推荐实验：** 情感/观点/评论 倾向性分析\n",
    "2. **数据来源：** 各电商平台，具体不详\n",
    "3. **原数据集：** [中文情感分析语料](https://download.csdn.net/download/weixin_38395744/10231401)、[中文情感分析语料库](https://download.csdn.net/download/u010097581/9919245)，网上搜集，具体作者、来源不详\n",
    "4. **加工处理：**\n",
    "    1. 将 2 份语料整合成 1 份语料\n",
    "    2. 将原来零散的 excel, txt 文档，整合成 1 个 统一的 csv 文档\n",
    "    3. 去重"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [],
   "source": [
    "path = 'online_shopping_10_cats_文件夹_所在_路径'"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 1. online_shopping_10_cats.csv"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 加载数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "评论数目（总体）：62774\n",
      "评论数目（正向）：31728\n",
      "评论数目（负向）：31046\n"
     ]
    }
   ],
   "source": [
    "pd_all = pd.read_csv(path + 'online_shopping_10_cats.csv')\n",
    "\n",
    "print('评论数目（总体）：%d' % pd_all.shape[0])\n",
    "print('评论数目（正向）：%d' % pd_all[pd_all.label==1].shape[0])\n",
    "print('评论数目（负向）：%d' % pd_all[pd_all.label==0].shape[0])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 字段说明\n",
    "\n",
    "| 字段 | 说明 |\n",
    "| ---- | ---- |\n",
    "| cat | 类别：包括 书籍、平板、手机、水果、洗发水、热水器、蒙牛、衣服、计算机、酒店 |\n",
    "| label | 1 表示正向评论，0 表示负向评论 |\n",
    "| review | 评论内容 |"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>cat</th>\n",
       "      <th>label</th>\n",
       "      <th>review</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>11194</th>\n",
       "      <td>平板</td>\n",
       "      <td>0</td>\n",
       "      <td>什么玩意。刚用一天，就充不上电，开不开机，返厂老麻烦，</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17794</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>买了几次了，价格实惠，口感不错，保鲜好！</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29529</th>\n",
       "      <td>洗发水</td>\n",
       "      <td>1</td>\n",
       "      <td>挺值得购买的，有包装买回去送家人，毛巾质量不错。小块的可以拿来当擦手帕。</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24976</th>\n",
       "      <td>水果</td>\n",
       "      <td>0</td>\n",
       "      <td>真的就算后悔了。两天才拿到货。还不如水果店买！还都发霉不新鲜了！以后不买了</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28447</th>\n",
       "      <td>洗发水</td>\n",
       "      <td>1</td>\n",
       "      <td>一般般，薄荷洗发水没想象中的凉快</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>264</th>\n",
       "      <td>书籍</td>\n",
       "      <td>1</td>\n",
       "      <td>这本书有别于以往看过的早教书籍，结合了说明文的写实，散文的情致和图册的一目了然。特别是读过几...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53035</th>\n",
       "      <td>酒店</td>\n",
       "      <td>1</td>\n",
       "      <td>酒店的大堂很漂亮,房间不算小,设施还可以也很干净,离码头很近,而且又有车接送,很方便.晚上2...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50250</th>\n",
       "      <td>计算机</td>\n",
       "      <td>1</td>\n",
       "      <td>做工不错，外壳也很漂亮。测试了一下还行！~中通很快啊，13号下午的订单，今天早上就收到了。</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62461</th>\n",
       "      <td>酒店</td>\n",
       "      <td>0</td>\n",
       "      <td>房间空间比较小， 环境比较吵。特别半夜被窗户外面的空调外机的声音吵醒（因为窗外一条巷子之隔，...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52888</th>\n",
       "      <td>酒店</td>\n",
       "      <td>1</td>\n",
       "      <td>清明节入住两天.从进入酒店就感受到无处不在的服务,非常周到,又很得体.从大堂,商务中心,到前...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31429</th>\n",
       "      <td>洗发水</td>\n",
       "      <td>0</td>\n",
       "      <td>感觉不怎么样，刚刚洗完头发又感觉头发干枯枯的而且还是好油</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21443</th>\n",
       "      <td>水果</td>\n",
       "      <td>0</td>\n",
       "      <td>算了，不要买了，先不说个头小，就味道难吃的要死，还没有路边摊卖的好吃，硬，涩，根本就没有苹果...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19374</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>快递神速，品种与描述一样，比上次买的好吃！</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28188</th>\n",
       "      <td>洗发水</td>\n",
       "      <td>1</td>\n",
       "      <td>还没有用，不过感觉和实体店买的差不多，等用过之后再追加评价吧</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46182</th>\n",
       "      <td>衣服</td>\n",
       "      <td>0</td>\n",
       "      <td>裤子又大又长，那里像休闲裤，妈的，还修身呢，真是够了</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62616</th>\n",
       "      <td>酒店</td>\n",
       "      <td>0</td>\n",
       "      <td>奇葩的酒店。在一个办公楼里，自己开车去酒店，很难找到，等到了酒店地下停车场，不知道应该坐那部...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44044</th>\n",
       "      <td>衣服</td>\n",
       "      <td>0</td>\n",
       "      <td>我要晕死得节奏，买回来就没穿过，真的是霉！</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19456</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>苹果不大，但很脆甜。检查了一下，48个没有烂的，有个别难看的。总体上质量不错</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10562</th>\n",
       "      <td>平板</td>\n",
       "      <td>0</td>\n",
       "      <td>差差差真卡渣渣品牌以后在也不相信大品牌了坑是了</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34199</th>\n",
       "      <td>洗发水</td>\n",
       "      <td>0</td>\n",
       "      <td>这个是6月18当天买的，只有半瓶。购物太差劲了</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "       cat  label                                             review\n",
       "11194   平板      0                        什么玩意。刚用一天，就充不上电，开不开机，返厂老麻烦，\n",
       "17794   水果      1                               买了几次了，价格实惠，口感不错，保鲜好！\n",
       "29529  洗发水      1               挺值得购买的，有包装买回去送家人，毛巾质量不错。小块的可以拿来当擦手帕。\n",
       "24976   水果      0              真的就算后悔了。两天才拿到货。还不如水果店买！还都发霉不新鲜了！以后不买了\n",
       "28447  洗发水      1                                   一般般，薄荷洗发水没想象中的凉快\n",
       "264     书籍      1  这本书有别于以往看过的早教书籍，结合了说明文的写实，散文的情致和图册的一目了然。特别是读过几...\n",
       "53035   酒店      1  酒店的大堂很漂亮,房间不算小,设施还可以也很干净,离码头很近,而且又有车接送,很方便.晚上2...\n",
       "50250  计算机      1      做工不错，外壳也很漂亮。测试了一下还行！~中通很快啊，13号下午的订单，今天早上就收到了。\n",
       "62461   酒店      0  房间空间比较小， 环境比较吵。特别半夜被窗户外面的空调外机的声音吵醒（因为窗外一条巷子之隔，...\n",
       "52888   酒店      1  清明节入住两天.从进入酒店就感受到无处不在的服务,非常周到,又很得体.从大堂,商务中心,到前...\n",
       "31429  洗发水      0                       感觉不怎么样，刚刚洗完头发又感觉头发干枯枯的而且还是好油\n",
       "21443   水果      0  算了，不要买了，先不说个头小，就味道难吃的要死，还没有路边摊卖的好吃，硬，涩，根本就没有苹果...\n",
       "19374   水果      1                              快递神速，品种与描述一样，比上次买的好吃！\n",
       "28188  洗发水      1                     还没有用，不过感觉和实体店买的差不多，等用过之后再追加评价吧\n",
       "46182   衣服      0                         裤子又大又长，那里像休闲裤，妈的，还修身呢，真是够了\n",
       "62616   酒店      0  奇葩的酒店。在一个办公楼里，自己开车去酒店，很难找到，等到了酒店地下停车场，不知道应该坐那部...\n",
       "44044   衣服      0                              我要晕死得节奏，买回来就没穿过，真的是霉！\n",
       "19456   水果      1             苹果不大，但很脆甜。检查了一下，48个没有烂的，有个别难看的。总体上质量不错\n",
       "10562   平板      0                            差差差真卡渣渣品牌以后在也不相信大品牌了坑是了\n",
       "34199  洗发水      0                            这个是6月18当天买的，只有半瓶。购物太差劲了"
      ]
     },
     "execution_count": 27,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd_all.sample(20)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 2. 统计各类别语料的规模"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "书籍: 3851 (总体), 2100 (正例), 1751 (负例)\n",
      "平板: 10000 (总体), 5000 (正例), 5000 (负例)\n",
      "手机: 2323 (总体), 1165 (正例), 1158 (负例)\n",
      "水果: 10000 (总体), 5000 (正例), 5000 (负例)\n",
      "洗发水: 10000 (总体), 5000 (正例), 5000 (负例)\n",
      "热水器: 575 (总体), 475 (正例), 100 (负例)\n",
      "蒙牛: 2033 (总体), 992 (正例), 1041 (负例)\n",
      "衣服: 10000 (总体), 5000 (正例), 5000 (负例)\n",
      "计算机: 3992 (总体), 1996 (正例), 1996 (负例)\n",
      "酒店: 10000 (总体), 5000 (正例), 5000 (负例)\n"
     ]
    }
   ],
   "source": [
    "all_cats = ['书籍', '平板', '手机', '水果', '洗发水', '热水器', '蒙牛', '衣服', '计算机', '酒店'] # 全部类别\n",
    "\n",
    "for cat in all_cats:\n",
    "    pd_data = pd_all[pd_all.cat==cat]\n",
    "    print('{}: {} (总体), {} (正例), {} (负例)'.format(cat, pd_data.shape[0], \n",
    "                                                 pd_data[pd_data.label==1].shape[0], pd_data[pd_data.label==0].shape[0]))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 3. 加载指定类别的语料"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "评论数目（总体）：17843\n",
      "评论数目（正向）：9096\n",
      "评论数目（负向）：8747\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>cat</th>\n",
       "      <th>label</th>\n",
       "      <th>review</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1620</th>\n",
       "      <td>书籍</td>\n",
       "      <td>1</td>\n",
       "      <td>符弦歌&amp;凌悠扬，一个背负着道义和家族荣誉，一个洒脱且桀骜不羁，两个完全不相同的人却因为千丝万...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18872</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>一直在吃，烟台苹果，味道不错，物流快</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>443</th>\n",
       "      <td>书籍</td>\n",
       "      <td>1</td>\n",
       "      <td>仔细回想这本文集，发现自己喜欢的只是写《教室朝南，没有风筝》的麻宁，不知道是她成长了还是自己...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21437</th>\n",
       "      <td>水果</td>\n",
       "      <td>0</td>\n",
       "      <td>最差的一次购物体验，干瘪，坏心，糟糕透顶</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18321</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>多次购买新鲜爽甜，80个头大大个，物流超快，上午9点前下单，下午16点收货</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>568</th>\n",
       "      <td>书籍</td>\n",
       "      <td>1</td>\n",
       "      <td>一开始我是看了当当上的推荐，说不一样的卡梅拉这套书是亚马逊的五星级图书，大家的评论也非常好。...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23927</th>\n",
       "      <td>水果</td>\n",
       "      <td>0</td>\n",
       "      <td>垃圾啊，以后再也不 会买了啊 ，好几个坏的，还有好多歪头歪闹的</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19244</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>包装完好，没有烂果，就是比较小粒，卖相不好。</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20643</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>不错不错特别好吃，甜甜的水分还足而且还很脆，第一次在京东买苹果，果然没让我失望，</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22330</th>\n",
       "      <td>水果</td>\n",
       "      <td>0</td>\n",
       "      <td>第一次给差评，刚拿上打开第一个就黑心。差评。</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17905</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>妈妈说非常好，谢谢店家，会继续支持</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19439</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>不错不错挺甜的。 收到还凉凉的。</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23419</th>\n",
       "      <td>水果</td>\n",
       "      <td>0</td>\n",
       "      <td>吃第一个就是烂的，而且是烂透了的。认栽，图都难得传了！</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>355</th>\n",
       "      <td>书籍</td>\n",
       "      <td>1</td>\n",
       "      <td>这本书从男性的视觉诠释了承诺和责任的关系。从达菲一开始的茫然到最后勇敢面对自己的真心，以及对...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24028</th>\n",
       "      <td>水果</td>\n",
       "      <td>0</td>\n",
       "      <td>味同嚼蜡，水泥地里长出来的吗？一点味道都没有还硬的很，颜色很红，个头很小，口感特别差，真后悔</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>497</th>\n",
       "      <td>书籍</td>\n",
       "      <td>1</td>\n",
       "      <td>因为众所周知的原因，我一直在内心深处比较抵制日本文化，我们接受的教育也是负面的信息多于正面的...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52307</th>\n",
       "      <td>计算机</td>\n",
       "      <td>0</td>\n",
       "      <td>噪音稍大，再就是装XP系统确实蓝屏的几率比较大，装VISTA算了，别的缺点暂时真没发觉，水平有限</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51268</th>\n",
       "      <td>计算机</td>\n",
       "      <td>0</td>\n",
       "      <td>可能是主板比较特殊，很多Ghost启动光盘不能识别光驱，不过好像萝卜花园的可以识别。</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21227</th>\n",
       "      <td>水果</td>\n",
       "      <td>0</td>\n",
       "      <td>好小一个，根本不是进口的。包装好看而已！</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18596</th>\n",
       "      <td>水果</td>\n",
       "      <td>1</td>\n",
       "      <td>好吃真心的好吃赞了，快递特快，继续关注，会回购的</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "       cat  label                                             review\n",
       "1620    书籍      1  符弦歌&凌悠扬，一个背负着道义和家族荣誉，一个洒脱且桀骜不羁，两个完全不相同的人却因为千丝万...\n",
       "18872   水果      1                                 一直在吃，烟台苹果，味道不错，物流快\n",
       "443     书籍      1  仔细回想这本文集，发现自己喜欢的只是写《教室朝南，没有风筝》的麻宁，不知道是她成长了还是自己...\n",
       "21437   水果      0                               最差的一次购物体验，干瘪，坏心，糟糕透顶\n",
       "18321   水果      1              多次购买新鲜爽甜，80个头大大个，物流超快，上午9点前下单，下午16点收货\n",
       "568     书籍      1  一开始我是看了当当上的推荐，说不一样的卡梅拉这套书是亚马逊的五星级图书，大家的评论也非常好。...\n",
       "23927   水果      0                    垃圾啊，以后再也不 会买了啊 ，好几个坏的，还有好多歪头歪闹的\n",
       "19244   水果      1                             包装完好，没有烂果，就是比较小粒，卖相不好。\n",
       "20643   水果      1           不错不错特别好吃，甜甜的水分还足而且还很脆，第一次在京东买苹果，果然没让我失望，\n",
       "22330   水果      0                             第一次给差评，刚拿上打开第一个就黑心。差评。\n",
       "17905   水果      1                                  妈妈说非常好，谢谢店家，会继续支持\n",
       "19439   水果      1                                   不错不错挺甜的。 收到还凉凉的。\n",
       "23419   水果      0                        吃第一个就是烂的，而且是烂透了的。认栽，图都难得传了！\n",
       "355     书籍      1  这本书从男性的视觉诠释了承诺和责任的关系。从达菲一开始的茫然到最后勇敢面对自己的真心，以及对...\n",
       "24028   水果      0     味同嚼蜡，水泥地里长出来的吗？一点味道都没有还硬的很，颜色很红，个头很小，口感特别差，真后悔\n",
       "497     书籍      1  因为众所周知的原因，我一直在内心深处比较抵制日本文化，我们接受的教育也是负面的信息多于正面的...\n",
       "52307  计算机      0   噪音稍大，再就是装XP系统确实蓝屏的几率比较大，装VISTA算了，别的缺点暂时真没发觉，水平有限\n",
       "51268  计算机      0         可能是主板比较特殊，很多Ghost启动光盘不能识别光驱，不过好像萝卜花园的可以识别。\n",
       "21227   水果      0                               好小一个，根本不是进口的。包装好看而已！\n",
       "18596   水果      1                           好吃真心的好吃赞了，快递特快，继续关注，会回购的"
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "target_cats = ['书籍', '水果', '计算机'] # 假定只需要 书籍、水果、计算机 3 个 类别的数据\n",
    "\n",
    "pd_data = pd_all[pd_all.cat.isin(target_cats)]\n",
    "\n",
    "print('评论数目（总体）：%d' % pd_data.shape[0])\n",
    "print('评论数目（正向）：%d' % pd_data[pd_data.label==1].shape[0])\n",
    "print('评论数目（负向）：%d' % pd_data[pd_data.label==0].shape[0])\n",
    "\n",
    "pd_data.sample(20)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.4"
  },
  "widgets": {
   "state": {},
   "version": "1.1.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
